import stConfig from "../../stconfig.json";

export function getFileImage(fileName: string): string {
    let array = fileName.split('.')
    let suffix = array[array.length - 1]
    return stConfig.fileTypeMap[suffix] ? stConfig.fileTypeMap[suffix] : stConfig.fileTypeMap["unknown"]
}